package com.aaa.ssm.mapper;

import com.aaa.ssm.pojo.dto.StudentDTO;
import com.aaa.ssm.pojo.dto.StudentVO;
import com.aaa.ssm.pojo.vo.StudentQuery;

import java.util.List;

public interface StudentMapper {
    List<StudentDTO> searchStudents(StudentQuery query);
    Integer studentCount(StudentQuery query);

    Integer deleteStudentByID(Integer id);

    int addStudent(StudentDTO studentDTO);

    Integer updateByteID(StudentVO studentDTO);

    StudentDTO getStuByteID(Integer id);
}
